<?php
/**
 * Created by PhpStorm.
 * User: yangyou
 * Date: 2018/12/11 0011
 * Time: 09:35
 */

namespace app\index\model;


class System extends Base
{
    /**
     * Author:yang you
     * Time:2018-12-10 10:27:51
     * Describe:系统设置详情
     * @param string classification_id
     */
    public function systemInfo($systemName){
        return $this->where(function ($q)use ($systemName){
            if(!empty($systemName)){
                //查找该栏目资讯
                $q->where("system_name",$systemName);
            }
        })->find();

    }



}